home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tk / frame.z / frame
Text File  |  1998-10-30  |  10KB  |  199 lines

  1.  
  2.  
  3.  
  4. ffffrrrraaaammmmeeee((((3333TTTTkkkk))))                                                          ffffrrrraaaammmmeeee((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      frame - Create and manipulate frame widgets
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ffffrrrraaaammmmeeee _p_a_t_h_N_a_m_e ?_o_p_t_i_o_n_s?
  13.  
  14. SSSSTTTTAAAANNNNDDDDAAAARRRRDDDD OOOOPPPPTTTTIIIIOOOONNNNSSSS
  15.      bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh  hhhhiiiigggghhhhlllliiiigggghhhhttttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd  hhhhiiiigggghhhhlllliiiigggghhhhttttTTTThhhhiiiicccckkkknnnneeeessssssss  ttttaaaakkkkeeeeFFFFooooccccuuuussss          |
  16.      ccccuuuurrrrssssoooorrrr       hhhhiiiigggghhhhlllliiiigggghhhhttttCCCCoooolllloooorrrr       rrrreeeelllliiiieeeeffff
  17.  
  18.      See the ``options'' manual entry for details on the standard options.
  19.  
  20. WWWWIIIIDDDDGGGGEEEETTTT----SSSSPPPPEEEECCCCIIIIFFFFIIIICCCC OOOOPPPPTTTTIIIIOOOONNNNSSSS
  21.      Name:           bbbbaaaacccckkkkggggrrrroooouuuunnnndddd                                               |
  22.      Class:          BBBBaaaacccckkkkggggrrrroooouuuunnnndddd                                               |
  23.      Command-Line Switch:----bbbbaaaacccckkkkggggrrrroooouuuunnnndddd                                          |
  24.  
  25.           This option is the same as the standard bbbbaaaacccckkkkggggrrrroooouuuunnnndddd option except    |
  26.           that its value may also be specified as an empty string.  In this   |
  27.           case, the widget will display no background or border, and no colors|
  28.           will be consumed from its colormap for its background and border.
  29.  
  30.      Name:           ccccllllaaaassssssss                                                    |
  31.      Class:          CCCCllllaaaassssssss                                                    |
  32.      Command-Line Switch:----ccccllllaaaassssssss                                               |
  33.  
  34.           Specifies a class for the window.  This class will be used when     |
  35.           querying the option database for the window's other options, and it |
  36.           will also be used later for other purposes such as bindings.  The   |
  37.           ccccllllaaaassssssss option may not be changed with the ccccoooonnnnffffiiiigggguuuurrrreeee widget command.
  38.  
  39.      Name:           ccccoooolllloooorrrrmmmmaaaapppp                                                 |
  40.      Class:          CCCCoooolllloooorrrrmmmmaaaapppp                                                 |
  41.      Command-Line Switch:----ccccoooolllloooorrrrmmmmaaaapppp                                            |
  42.  
  43.           Specifies a colormap to use for the window.  The value may be either|
  44.           nnnneeeewwww, in which case a new colormap is created for the window and its |
  45.           children, or the name of another window (which must be on the same  |
  46.           screen and have the same visual as _p_a_t_h_N_a_m_e), in which case the new |
  47.           window will use the colormap from the specified window.  If the     |
  48.           ccccoooolllloooorrrrmmmmaaaapppp option is not specified, the new window uses the same      |
  49.           colormap as its parent.  This option may not be changed with the    |
  50.           ccccoooonnnnffffiiiigggguuuurrrreeee widget command.
  51.  
  52.      Name:           hhhheeeeiiiigggghhhhtttt
  53.      Class:          HHHHeeeeiiiigggghhhhtttt
  54.      Command-Line Switch:----hhhheeeeiiiigggghhhhtttt
  55.  
  56.           Specifies the desired height for the window in any of the forms
  57.           acceptable to TTTTkkkk____GGGGeeeettttPPPPiiiixxxxeeeellllssss.  If this option is less than or equal to
  58.           zero then the window will not request any size at all.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ffffrrrraaaammmmeeee((((3333TTTTkkkk))))                                                          ffffrrrraaaammmmeeee((((3333TTTTkkkk))))
  71.  
  72.  
  73.  
  74.      Name:           vvvviiiissssuuuuaaaallll                                                   |
  75.      Class:          VVVViiiissssuuuuaaaallll                                                   |
  76.      Command-Line Switch:----vvvviiiissssuuuuaaaallll                                              |
  77.  
  78.           Specifies visual information for the new window in any of the forms |
  79.           accepted by TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll.  If this option is not specified, the new |
  80.           window will use the same visual as its parent.  The vvvviiiissssuuuuaaaallll option   |
  81.           may not be modified with the ccccoooonnnnffffiiiigggguuuurrrreeee widget command.
  82.  
  83.      Name:           wwwwiiiiddddtttthhhh
  84.      Class:          WWWWiiiiddddtttthhhh
  85.      Command-Line Switch:----wwwwiiiiddddtttthhhh
  86.  
  87.           Specifies the desired width for the window in any of the forms
  88.           acceptable to TTTTkkkk____GGGGeeeettttPPPPiiiixxxxeeeellllssss.  If this option is less than or equal to
  89.           zero then the window will not request any size at all.
  90.  
  91.  
  92. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  93.      The ffffrrrraaaammmmeeee command creates a new window (given by the _p_a_t_h_N_a_m_e argument)
  94.      and makes it into a frame widget.  Additional options, described above,
  95.      may be specified on the command line or in the option database to
  96.      configure aspects of the frame such as its background color and relief.
  97.      The ffffrrrraaaammmmeeee command returns the path name of the new window.
  98.  
  99.      A frame is a simple widget.  Its primary purpose is to act as a spacer or
  100.      container for complex window layouts.  The only features of a frame are
  101.      its background color and an optional 3-D border to make the frame appear
  102.      raised or sunken.
  103.  
  104.  
  105. WWWWIIIIDDDDGGGGEEEETTTT CCCCOOOOMMMMMMMMAAAANNNNDDDD
  106.      The ffffrrrraaaammmmeeee command creates a new Tcl command whose name is the same as the
  107.      path name of the frame's window.  This command may be used to invoke
  108.      various operations on the widget.  It has the following general form:
  109.  
  110.           _p_a_t_h_N_a_m_e _o_p_t_i_o_n ?_a_r_g _a_r_g ...?
  111.  
  112.      _P_a_t_h_N_a_m_e is the name of the command, which is the same as the frame
  113.      widget's path name.  _O_p_t_i_o_n and the _a_r_gs determine the exact behavior of
  114.      the command.  The following commands are possible for frame widgets:
  115.  
  116.      _p_a_t_h_N_a_m_e ccccggggeeeetttt _o_p_t_i_o_n
  117.           Returns the current value of the configuration option given by      |
  118.           _o_p_t_i_o_n.  _O_p_t_i_o_n may have any of the values accepted by the ffffrrrraaaammmmeeee    |
  119.           command.
  120.  
  121.      _p_a_t_h_N_a_m_e ccccoooonnnnffffiiiigggguuuurrrreeee ?_o_p_t_i_o_n? ?_v_a_l_u_e _o_p_t_i_o_n _v_a_l_u_e ...?
  122.           Query or modify the configuration options of the widget.  If no
  123.           _o_p_t_i_o_n is specified, returns a list describing all of the available
  124.           options for _p_a_t_h_N_a_m_e (see TTTTkkkk____CCCCoooonnnnffffiiiigggguuuurrrreeeeIIIInnnnffffoooo for information on the
  125.           format of this list).  If _o_p_t_i_o_n is specified with no _v_a_l_u_e, then
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ffffrrrraaaammmmeeee((((3333TTTTkkkk))))                                                          ffffrrrraaaammmmeeee((((3333TTTTkkkk))))
  137.  
  138.  
  139.  
  140.           the command returns a list describing the one named option (this
  141.           list will be identical to the corresponding sublist of the value
  142.           returned if no _o_p_t_i_o_n is specified).  If one or more _o_p_t_i_o_n-_v_a_l_u_e
  143.           pairs are specified, then the command modifies the given widget
  144.           option(s) to have the given value(s);  in this case the command
  145.           returns an empty string.  _O_p_t_i_o_n may have any of the values accepted
  146.           by the ffffrrrraaaammmmeeee command.
  147.  
  148.  
  149. BBBBIIIINNNNDDDDIIIINNNNGGGGSSSS
  150.      When a new frame is created, it has no default event bindings:  frames
  151.      are not intended to be interactive.
  152.  
  153.  
  154. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  155.      frame, widget
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.